#!/bin/sh
/usr/bin/gcc select-useful-data.c -o bin/select-useful-data

/usr/bin/gcc select-chunk-data.c -o bin/select-chunk-data

/usr/bin/gcc markov-predictor.c mode-judge.c Noah-predictor.c pageread-predictor.c readcache-with-LRU.c predict-manager.c -o bin/predictor

#测试读缓存元数据
/usr/bin/gcc readcache-with-LRU.c test-readcache-with-LRU.c -o bin/test-readcache-with-LRU

#测试noah
/usr/bin/gcc Noah-predictor.c Noah-predictor-test.c -o bin/Noah-predictor-test

#测试模式预测器
/usr/bin/gcc mode-judge.c readcache-with-LRU.c test-mode-judge.c -o bin/test-mode-judge

#测试markov预测器
/usr/bin/gcc markov-predictor.c test-markov-predictor.c -o bin/test-markov-predictor

/usr/bin/gcc markov-predictor.c mode-judge.c Noah-predictor.c pageread-predictor.c readcache-with-LRU.c analysis.c -o bin/analysis

/usr/bin/gcc readcache-with-LRU.c real-page-predictor.c -o bin/real-page-predictor
